<?php

namespace Mallocu\NuitInfoBundle\Entity;

/**
 * Description of NoImage
 *
 * @author nell
 */
class NoImage extends Image {

    public function getWebPath() {
        $suffix = array(
            "monumentDefaut.jpg",
            "monumentDefaut2.jpg"
        );
        return "bundles/mallocunuitinfo/images/monuments/{$suffix[mt_rand(0, count($suffix) - 1)]}";
    }

}

?>
